no

crypto-ikev1/ikev2-peer commands

Removes or reverts IKEv1/IKEv2 peer settings

Supported on the following devices:

Syntax

no [authentication|ip|localid|remoteid|use <IKEv1/IKEv2-POLICY-NAME>]

Parameters

no <PARAMETERS>
no <PARAMETERS> Removes or reverts IKEv1/IKEv2 peer settings based on the parameters passed

Example

The following example shows the Crypto IKEV1 peer1 settings before the ‘no‘ commands are executed:

nx9500-6C8809(config-profile-default-ap8533-ikev1-peer-peer1)#show context
 crypto ikev1 peer peer1
  ip address 172.16.10.12
  remoteid dn SanJose
  localid email bob@examplecompany.com
  use ikev1-policy test-ikev1policy
nx9500-6C8809(config-profile-default-ap8533-ikev1-peer-peer1)#

nx9500-6C8809(config-profile-default-ap8533-ikev1-peer-peer1)#no localid
nx9500-6C8809(config-profile-default-ap8533-ikev1-peer-peer1)#no remoteid

The following example shows the Crypto IKEV1 peer1 settings after the ‘no‘ commands are executed:

nx9500-6C8809(config-profile-default-ap8533-ikev1-peer-peer1)#show context
 crypto ikev1 peer peer1
  ip address 172.16.10.12
  use ikev1-policy test-ikev1policy
nx9500-6C8809(config-profile-default-ap8533-ikev1-peer-peer1)#

The following example shows the Crypto IKEV2 peer1 settings before the ‘no‘ commands are executed:

nx9500-6C8809(config-profile-default-ap8533-ikev2-peer-peer1)#show context
 crypto ikev2 peer peer1
  remoteid address 157.235.209.63
  use ikev2-policy test
nx9500-6C8809(config-profile-default-ap8533-ikev2-peer-peer1)#

The following example shows the Crypto IKEV2 peer1 settings after the ‘no‘ commands are executed:

nx9500-6C8809(config-profile-default-ap8533-ikev2-peer-peer1)#no use ikev2-policy

nx9500-6C8809(config-profile-default-ap8533-ikev2-peer-peer1)#show context
 crypto ikev2 peer peer1
  remoteid address 157.235.209.63
nx9500-6C8809(config-profile-default-ap8533-ikev2-peer-peer1)#